@extends('index')

@section('content')
<h3>剩余库存</h3>
      <div id="JTable"></div>
@stop

@section("script")
<script type="text/javascript">
	$(function(){
  $(".menu .jingying-item").toggleClass("hidden");
  $("#shengyu").addClass("active");
  $('#JTable').jtable({
    title: '剩余库存',
    actions: {
        listAction: '/getstore',
        // createAction: '/addcompany',
        // updateAction: '/editecompany',
        // deleteAction: '/deletecompany'
    },
    fields: {
        id: {
            key: true,
            list: false
        },
        厂商名: {
            title: '厂商名',
        },
        型号: {
            title: '型号',
        },
        数量: {
            title: '数量',
        },
    }
  });
  $('#JTable').jtable('load');

});
</script>
@stop